var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data":[
      {
        "symbol": "000858.SZ",
        "stockCode": "000858.SZ",
        "stockName": null,
        "pnl": 826.32,
        "ratio": 1
      }, {
        "symbol": "000333.SZ",
        "stockCode": "000333.SZ",
        "stockName": null,
        "pnl": -77.58,
        "ratio": 0.49
      }, {
        "symbol": "002624.SZ",
        "stockCode": "002624.SZ",
        "stockName": null,
        "pnl": -80.76,
        "ratio": 0.51
      }
    ]
  })
}
